package com.sgcc.isc.config;

public class Global {
	/**
	 * 当前对象实例
	 */
	private static Global global = new Global();
	/**
	 * 显示/隐藏
	 */
	public static final String SHOW = "1";
	public static final String HIDE = "0";

	/**
	 * 是/否
	 */
	public static final String YES = "1";
	public static final String NO = "0";
	
	/**
	 * 对/错
	 */
	public static final String TRUE = "true";
	public static final String FALSE = "false";

    /**
     * 发送时间类型
     * 01: 立即 02: 指定时间
     */
    public static final String SENDTIMETYPE_01 = "01";
    public static final String SENDTIMETYPE_02 = "02";

    /**
     * 人群规则状态
     * 01：未启用 02：已启用 03：已作废
     */
    public static final String CROWDSTATUS_01 = "01";
    public static final String CROWDSTATUS_02 = "02";
    public static final String CROWDSTATUS_03 = "03";

    /**
     * 监控状态
     * 01:正常 02:异常 03:预警
     * */
    public static final String MONSTATUS_01 = "01";
    public static final String MONSTATUS_02 = "02";
    public static final String MONSTATUS_03 = "03";

    /**
     * 处理状态
     * 01: 待处理 02: 已处理
     */
    public static final String ANOMALYINFO_STATUS_01 = "01";
    public static final String ANOMALYINFO_STATUS_02 = "02";

    /**
     * 判断类型
     * 01: 预警 02: 异常
     */
    public static final String VERDTYPE_02 = "02";
    public static final String VERDTYPE_03 = "03";

    /**
     * 统计方法
     * 01	统计值与数值对比
     * 02	统计值与统计值选项对比
     * 03	统计值与数值对比的持续天数
     * 04	其他不用统计值
     */
    public static final String STATWAY_01 = "01";
    public static final String STATWAY_02 = "02";
    public static final String STATWAY_03 = "03";
    public static final String STATWAY_04 = "04";

    /**
     * 统计值选项列表
     * nStat: 统计值 nStat2: 统计值2 nStat3: 统计值3
     */
    public static final String QTLIST_NSTAT = "nStat";
    public static final String QTLIST_NSTAT2 = "nStat2";
    public static final String QTLIST_NSTAT3 = "nStat3";

    /**
     * 持续时间单位
     * 01:分钟 02:小时 03:天 04:月
     */
    public static final String UNITTYPE_MINUTE = "01";
    public static final String UNITTYPE_HOUR = "02";
    public static final String UNITTYPE_DAY = "03";
    public static final String UNITTYPE_MONTH = "04";

    /**
     * 活动模板图片保存目录
     */
    public final static String TEMP_PIC_PATH = "/static/acti/temp/pic";

    /**
     * 列表展示图片目录
     */
    public final static String PIC_PATH_MAIN = "/main";

    /**
     *
     * 配置活动时替换的图片目录
     */
    public final static String PIC_PATH_PREVIEW = "/preview";

    /**
     *
     * 奖品图片目录 01_99 谢谢参与
     */
    public final static String PIC_TYPE_PRIZE = "01";

    public final static String PIC_LOST_PRIZE = "01_99";

    public final static String PIC_LOST_PRIZE_NAME = "谢谢参与";

    /**
     *
     * 其他图片目录 02_1 背景图 02_2 标题图 02_3 转盘图 02_4 中奖背景图 02_5 未中奖背景图
     */
    public final static String PIC_TYPE_OTHER = "02";

    public final static String[] OTHER_PIC_ID = {"02_1", "02_2", "02_3", "02_4", "02_5"};

    public final static String HTML_MODEL_NAME = "index.html";

	/**
	 * 上传文件基础虚拟路径
	 */
	public static final String USERFILES_BASE_URL = "/userfiles/";

	public static final String REFRESH_TIME_DICT_TYPE = "refreshTime";

	public static final String REFRESH_TIME_DEFAULT = "15";



	/**
	 * 获取当前对象实例
	 */
	public static Global getInstance() {
		return global;
	}

	

 
	


}
